package com.hdoit.ares.web.home.controllers;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.tennetcn.web.home.controllers.BaseHomeController;
/** 
 * @author      chenghuan
 * @email       79763939@qq.com
 * @createtime  2016年4月14日
 * @comment 
 */
@Controller
@RequestMapping(value = "/admin/home/")
public class HomeController extends BaseHomeController{
	@Override
	public String getRoutePath() {
		return "areas/admin/";
	}	
	
	
	
	private final String indexViewName="index";
	
	@Override
	@RequestMapping(value = indexViewName, method = { RequestMethod.GET })
	public String index(Model model, HttpServletRequest request,HttpServletResponse response){
		return view(indexViewName);
	}
}
